﻿// Fill out your copyright notice in the Description page of Project Settings.

#pragma once
// #include "CoreMinimal.h"
#include "IImageWrapper.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "SmartObjectExtensions.generated.h"

/**
 * 
 */
UCLASS()
class SMARTPYTHONEXTENSIONS_API USmartObjectExtensions : public UBlueprintFunctionLibrary
{
	GENERATED_BODY()

	UFUNCTION(BlueprintCallable, Category = "Object", meta = (ScriptMethod))
	static bool SmRenderThumbnail(UObject* Object, FString OutPath, int32 Width, int32 Height);
	
	UFUNCTION(BlueprintCallable, Category = "Object", meta = (ScriptMethod))
	static bool SmExportThumbnail(UObject* Object, FString OutPath);

	static TSharedPtr<IImageWrapper> GetImageWrapperByExtention(FString OutPath);
};
